package yannan.voiplock4ble.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;

import java.io.Serializable;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 说明：开锁记录
 * 作者：mainTel
 * 时间：2016/8/24 17:39
 * 备注：
 */
@Entity
public class LockRecordBean implements Serializable {

    @Id
    public Long id;

    private static final long serialVersionUID = 3352672633905556288L;

    public String unlockingDate;
    public String nickName;
    public String unlockinType;  //开锁方式 0 指静脉 1 密码
    public String userIdentifier;
    public String lockserialId; //锁序列号
    @Generated(hash = 1781129203)
    public LockRecordBean(Long id, String unlockingDate, String nickName,
            String unlockinType, String userIdentifier, String lockserialId) {
        this.id = id;
        this.unlockingDate = unlockingDate;
        this.nickName = nickName;
        this.unlockinType = unlockinType;
        this.userIdentifier = userIdentifier;
        this.lockserialId = lockserialId;
    }
    @Generated(hash = 1634813998)
    public LockRecordBean() {
    }
    public Long getId() {
        return this.id;
    }
    public void setId(Long id) {
        this.id = id;
    }
    public String getUnlockingDate() {
        return this.unlockingDate;
    }
    public void setUnlockingDate(String unlockingDate) {
        this.unlockingDate = unlockingDate;
    }
    public String getNickName() {
        return this.nickName;
    }
    public void setNickName(String nickName) {
        this.nickName = nickName;
    }
    public String getUnlockinType() {
        return this.unlockinType;
    }
    public void setUnlockinType(String unlockinType) {
        this.unlockinType = unlockinType;
    }
    public String getUserIdentifier() {
        return this.userIdentifier;
    }
    public void setUserIdentifier(String userIdentifier) {
        this.userIdentifier = userIdentifier;
    }
    public String getLockserialId() {
        return this.lockserialId;
    }
    public void setLockserialId(String lockserialId) {
        this.lockserialId = lockserialId;
    }
    
}